﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace FeiYang
{
    /// <summary>
    /// AnNiuZu.xaml 的交互逻辑
    /// </summary>
    public partial class AnNiuZu : UserControl
    {
        public AnNiuZu()
        {
            InitializeComponent();
        }
        public EventHandler 第一个被选择;
        public EventHandler 第二个被选择;
        public EventHandler 第三个被选择;
        public EventHandler 第四个被选择;
        public EventHandler 第一个被取消;
        public EventHandler 第二个被取消;
        public EventHandler 第三个被取消;
        public EventHandler 第四个被取消;

        private void checkBox_Checked(object sender, RoutedEventArgs e)
        {
            this.第一个被选择(sender, e);
        }

        private void checkBox1_Checked(object sender, RoutedEventArgs e)
        {

            this.第二个被选择(sender, e);
        }

        private void checkBox2_Checked(object sender, RoutedEventArgs e)
        {
            this.第三个被选择(sender, e);
        }

        private void checkBox3_Checked(object sender, RoutedEventArgs e)
        {
            this.第四个被选择(sender, e);
        }

        private void checkBox_Unchecked(object sender, RoutedEventArgs e)
        {

            this.第一个被取消(sender, e);
        }

        private void checkBox1_Unchecked(object sender, RoutedEventArgs e)
        {

            this.第二个被取消(sender, e);
        }

        private void checkBox2_Unchecked(object sender, RoutedEventArgs e)
        {

            this.第三个被取消(sender, e);
        }

        private void checkBox3_Unchecked(object sender, RoutedEventArgs e)
        {

            this.第四个被取消(sender, e);
        }
    }
}
